<form   method="POST">
    <table border="1">
     {assign var="pteam" value= $person->getTeam()}
        <tr>
            <td colspan="2"> Personel Düzelt! </td>
        </tr>
        <tr>
        	<td colspan="2" align="center">
        	<img alt="{$person->getName()}" src="/images/player/{$pteam->getId()}_{$person->getName()}.jpg">
        	</td>
        </tr>
        <tr>
            <td> Adı : </td>
            <td>
                <input type="text" name="name" value="{$person->getName()}" />
                <input type="hidden" name="id" value="{$person->getId()}" />
            </td>
        </tr>
        <tr>
		<td>Resim :</td>
		<td><input type="file" name="file" id="file" /></td>
	</tr>
         <tr>
            <td> Doğum Tarihi (gün/ay/yıl) : </td>
            <td>
                <input type="text" name="B_Date_Day" maxlength="2" size="2" value="{$b_day}" />
                <input type="text" name="B_Date_Month" maxlength="2" size="2" value="{$b_month}" />
                <input type="text" name="B_Date_Year" maxlength="4" size="2" value="{$b_year}" />
            </td>
        </tr>
        <tr>
            <td> Vatandaşlık : </td>
            <td>
                 {assign var="country" value=$person->getNationality()}
                 {html_options name=nationality options=$countries selected=$country  }
            </td>
        </tr>
        <tr>
            <td> Takımııı : </td>
            <td>
                
                
                 {html_options name=team options=$teams selected=$pteam->getId()  }
            </td>
        </tr>
        <tr>
            <td>Personel Tipi</td>
            <td>
                {html_radios name='type' options=$types_radios
                        selected=$person->getType() separator='<br />'}
            </td>
        </tr>
        <tr>
            <td>Pozisyon</td>
            <td>
                {html_radios name='position' options=$position_radios
                        selected=$person->getPosition() separator='<br />'}
            </td>
        </tr>
        <tr>
            <td> Kontrat Başlangıç (gün/ay/yıl) : </td>
            <td>
                <input type="text" name="CS_Date_Day" maxlength="2" size="2" value="{$cs_day}" />
                <input type="text" name="CS_Date_Month" maxlength="2" size="2" value="{$cs_month}" />
                <input type="text" name="CS_Date_Year" maxlength="4" size="2" value="{$cs_year}"/>
            </td>
        </tr>
        <tr>
            <td> Kontrat Bitiş (gün/ay/yıl) : </td>
            <td>
                <input type="text" name="CF_Date_Day" maxlength="2" size="2" value="{$cf_day}"/>
                <input type="text" name="CF_Date_Month" maxlength="2" size="2" value="{$cf_month}"/>
                <input type="text" name="CF_Date_Year" maxlength="4" size="2" value="{$cf_year}"/>
            </td>
        </tr>
        <tr>
            <td collspan="2">
                <input type="hidden" name="proc" value="upsert" />
                <input type="submit" />
            </td>
        </tr>
    </table>
</form>
